#ifndef __SW_GAME_STATE_MAIN_H__
#define __SW_GAME_STATE_MAIN_H__

#include <allegro5\allegro.h>
#include <allegro5\allegro_audio.h>
#include <allegro5\allegro_acodec.h>
#include <allegro5\allegro_primitives.h>

#include "sw_game_state.h"
#include "sw_background.h"
#include "sw_sprite.h"
#include <vector>
#include <Box2D\Box2D.h>
#include <Box2D\Dynamics\b2Body.h>
//#include "sw_room_state.h"

class sw_game_state_main : public sw_game_state {
	sw_background* background;
	//sw_room_state* room_state;
	b2World* box2d_world;
	std::vector<sw_sprite*> sprites;
	sw_sprite* shizzle_sprite;

	// temporary
	b2Vec2* vs;
	int vslength;
	b2Body* shizzle_body;
	//b2Body* tilebody;
	b2Body** _enemy_bodies;
	int _enemy_bodies_num;
	std::vector<b2Body*> _tile_bodies;
	float _tile_width;
	float _tile_height;

public:
	sw_game_state_main();
	~sw_game_state_main();
	void draw_on_screen();
	void compute_timestep();
};

#endif